using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Medora.Model.Institutions
{
    public class ScheduleTemplate: DeletedEntity
    {

        public Guid ProviderId { get; set; }
        public virtual Provider Provider { get; set; }
        
        [Required]
        public string Name { get; set; }

        [Range(1,100)]
        public int TimeForOnePerson { get; set; }

        public TimeSpan? Start1 { get; set; }
        public TimeSpan? Start2 { get; set; }
        public TimeSpan? Start3 { get; set; }
        public TimeSpan? Start4 { get; set; }
        public TimeSpan? Start5 { get; set; }
        public TimeSpan? Start6 { get; set; }
        public TimeSpan? Start7 { get; set; }

        public virtual ICollection<ScheduleTemplateItem> Items { get; set; }
    }
}